<style>
	@import url('../static/css/matcheslist.css');
</style>

<template>
	<view>
		<!-- 公共头部  -->
		<view> <my-header :title="'项目列表'"></my-header></view>
		<!-- 列表 -->
		<view class="content">
			
			<view class="list"   v-for="(item,index) in list" >
				<view class="game_list">
					<view class="game_list_all">
						<view class="title">{{item.project_name}}</view>
							<view class="type_ok" @click="begingame(item.url,item.id)">开始挑战</view>
					</view>
					<view class="game_list_all_a">
						<view class="game_list_all_two">
							<view class="game_list_all_two_a">最高分数:<text>{{item.allscore?item.allscore:0}}</text></view>
							<view class="game_list_all_two_a">时间：{{item.create_time?Base.timeProcessing_getdate(item.create_time):'无'}}</view>
						</view>	
					</view>	
					<!-- <view class="game_list_all_a">
						<view class="game_list_all_two">
							<view class="game_list_all_two_a">单人对战邀请</view>
							<view class="game_list_all_two_a">团队对战邀请</view>
						</view>
					</view>	 -->
				</view>
			</view>
		</view>
		<view>
			<Tabbar :current="'1'"></Tabbar>
		</view>
	</view>
</template>

<script type="module" src="../static/js/matcheslist.js"></script>